package com.yunxi.sto.service;

import java.lang.reflect.InvocationTargetException;
import java.util.*;
import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.VehicleMaintainItemVO;

/**
 * <p>
 * 车辆库存保养项目 服务类
 * </p>
 *
 * @author Guan
 * @since 2019-10-14
 */
public interface VehicleMaintainItemDubboService {

    VehicleMaintainItemVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(VehicleMaintainItemVO vehicleMaintainItemVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<VehicleMaintainItemVO> findPageByVO(VehicleMaintainItemVO vehicleMaintainItemVO,Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<VehicleMaintainItemVO> vehicleMaintainItemVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(VehicleMaintainItemVO vehicleMaintainItemVO);
}
